﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Infinity.Types.Ranges
{
	public class LongRange : Range<long>
	{
		public LongRange(long start = 0, long? end = null, long by = 1)
			: base(start, end)
		{
			By = by;
		}

		public override long Next(long value)
		{
			return value + By;
		}

		public long By { get; protected set; }
	}
}